﻿<Window x:Class="MetroGTD.View.AddThing"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AddThing" Height="300" Width="400" DataContext="{Binding}">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="210*" />
            <RowDefinition Height="50*" />
        </Grid.RowDefinitions>
        <Grid>
            <TextBox Height="23" Text="{Binding Title, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" Margin="6,6,6,0" Name="textBox1" VerticalAlignment="Top" />
            <TextBox Height="136" Text="{Binding Details}" HorizontalAlignment="Stretch" Margin="6,35,6,0" Name="textBox2" VerticalAlignment="Top" />
        </Grid>
        <Button Content="Save" Command="{Binding Save}" Height="23" HorizontalAlignment="Right" Margin="0,12,93,12" Name="button1" VerticalAlignment="Center" Width="75" Grid.Row="1" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Right" Margin="12,0" Name="_cancelButton" VerticalAlignment="Center" Width="75" Grid.Row="1" Click="_cancelButton_Click" />
    </Grid>
</Window>
